package com.aaa.quartz;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * -*- coding:utf-8 -*-
 *
 * @author 太阳偷渡青山
 * @software IntelliJ IDEA
 * @date 2022/11/18 9:29
 * @Description
 */
@Component
public class MyQuartz {
    @Scheduled(cron = "0/3 * * * * ? ")
    public void test() {
//        System.out.println("~~~~~~~~~~~~~~~~~~");
    }
}
